﻿using System;
using System.Collections.Generic;
//using System.Linq;
using System.Text;

namespace Xuhengxiao.Math
{
    /// <summary>
    /// 计算语句的有限自动机状态
    /// </summary>
    public enum DFAState : int
    {
        /// <summary>
        /// 初态
        /// </summary>
        S0 = 0,	
        /// <summary>
        /// /整数串，不带小数点
        /// </summary>
        S1 = 1,	
        /// <summary>
        /// 浮点数串
        /// </summary>
        S2 = 2,	
        /// <summary>
        /// 虚数
        /// </summary>
        S3 = 3,	///
        S4 = 4,	// 运算符和函数
        /// <summary>
        /// 常数
        /// </summary>
        S5=5,
        /// <summary>
        /// 左括号
        /// </summary>
        S6=6,
        /// <summary>
        /// 右括号
        /// </summary>
        S7=7
    }
}
